package com.lovo.project.exception;

import lombok.Data;

/**
 * @title 自定义异常
 * @author: luo
 * @date: 2020/11/3 10:45
 */
@Data
public class OurException extends RuntimeException {

    private Object codeEnum;

    public OurException(Object codeEnum) {
        super(codeEnum.toString());
        this.codeEnum = codeEnum;
    }
}
